\documentclass{article}
\usepackage{beamerarticle}
\setjobnamebeamerversion{render.presentation}
\input{header.tex}

% we specify setjobnamebeamerversion so that our slides will be included as figured in the article. 